/****************************************************************************
**  Tite Interactive Text Engine (TiTE)
**  Copyright (C) 2010  Eisoft Group
**
**  This file is part of TiTE.
**
**  TiTE is free software: you can redistribute it and/or modify
**  it under the terms of the GNU General Public License as published by
**  the Free Software Foundation, either version 3 of the License, or
**  (at your option) any later version.
**
**  TiTE is distributed in the hope that it will be useful,
**  but WITHOUT ANY WARRANTY; without even the implied warranty of
**  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
**  GNU General Public License for more details.
**
**  You should have received a copy of the GNU General Public License
**  along with TiTE.  If not, see <http://www.gnu.org/licenses/>.
****************************************************************************/

/*!
 * \file Windows.hpp
 *
 * \date 01/10/2011
 */

#ifndef TITE_CORE_SYSTEM_PLATFORM_WINDOWS_HPP
#define TITE_CORE_SYSTEM_PLATFORM_WINDOWS_HPP

///! Prevent unwanted symbols from being unecessarily included from windows.h.
#ifndef _TITE_NO_WINDOWS_HEADER
#   define WIN32_LEAN_AND_MEAN
#   if !defined(NOMINMAX) && defined(_MSC_VER)
#       define NOMINMAX ///! Preserve std::min functionality
#   endif /* NOMINMAX */
#   include <windows.h>
#   include <tchar.h>
#   define _TITE_WIN32 _WIN32_WINNT
#endif /* _TITE_NO_WINDOWS_HEADER */

#endif /* TITE_CORE_SYSTEM_PLATFORM_WINDOWS_HPP */